package com.dk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dk.pojo.CarMessage;
import com.dk.pojo.CarMessageVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CarMessageMapper extends BaseMapper<CarMessage> {

    List<CarMessageVO> toSelect();

    CarMessage toSelectById(@Param("messageId") Long messageId);
}